class CreateBillingTransactions < ActiveRecord::Migration
  def self.up
    create_table :billing_transactions do |t|
      t.integer :order_id
      t.string :status
      t.string :kind
      t.float :amount
      t.string :auth_id   #approval_code
      t.text :message
      t.text :note
      t.date :created_at
      t.date :updated_at

      t.timestamps
    end
  end

  def self.down
    drop_table :billing_transactions
  end
end
